package dao;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {
	public boolean writeStudent(Student student);//添加学生
	public Student readStudent(String name);//按名字查看某个学生信息
	public boolean delete(String stunum);//删除学生信息
	
	public List<Student> diplayAllStudent();//显示所有学生信息
	public boolean update(Student student);//修改学生信息or输入学生的成绩
	public  void LearningReport() throws SQLException; //生成学生学习情况报表；
	
	public Student findStudentById(int id);//按学号查找
	public List<Student> findStudentByName(String name);//按姓名查找
	public List<Student> findStudentByStunum(String stunum);
	public List<Student> findStudentByClass(int classes);
}